package com.xhtech.base.network.service

import com.xhtech.base.network.config.AppBaseConfig

/**
 * @author yuanxh
 * @date :2023/6/16 23:22
 * @description:
 */

//双重校验锁式-单例 封装NetApiService 方便直接快速调用简单的接口
val apiService: CommonApiService by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
    NetworkApi.INSTANCE.getApi(CommonApiService::class.java, AppBaseConfig.BASE_URL)
}
